#! /bin/bash
#Script used to test grades

#bash execution commands:
echo "The script is running"
echo "This script will test grades now"
echo "---------------------"
echo "Test1 1 and 100"
java -jar Grades.jar 1 100
echo "Expected output: fail"
echo "---------------------"
echo "Test2 1 and 150"
java -jar Grades.jar 1 150
echo "Expected output: error"
echo "---------------------"
echo "Test3 150 and 1"
java -jar Grades.jar 150 1
echo "Expected output: error"
echo "---------------------"
echo "Test4 100 and 100"
java -jar Grades.jar 100 100
echo "Expected output: pass with distinction"
echo "---------------------"
echo "Test5 0 and 100"
java -jar Grades.jar 0 100
echo "Expected output: fail"
echo "---------------------"
echo "Test6 0 and 0"
java -jar Grades.jar 0 0
echo "Expected output: fail"
echo "---------------------"
echo "Test7 20 and 50"
java -jar Grades.jar 20 50
echo "Expected output: pass"
echo "---------------------"
echo "Test8 70 and 90"
java -jar Grades.jar 70 90
echo "Expected output: pass with distinction"
echo "---------------------"
echo "Test9 90 and 30"
java -jar Grades.jar 90 30
echo "Expected output: pass"
echo "---------------------"
echo "Test9 50 and 50"
java -jar Grades.jar 50 50
echo "Expected output: pass"
echo "---------------------"
echo "Test10 20 and 20"
java -jar Grades.jar 20 20
echo "Expected output: pass"
echo "---------------------"
echo "Test9 10 and 10"
java -jar Grades.jar 10 10
echo "Expected output: fail"
echo "---------------------"



